LineGraphType.apply

Get all points upon the line

  1. void apply(void delegate(TYPE x, TYPE y) del, size_t step)
    struct LineGraphType(bool checkNegative, TYPE)
    void
    apply
    (
    void delegate
    (
    TYPE x
    ,
    TYPE y
    )
    del
    ,
    size_t step = 1
    )
  2. void apply(void delegate(TYPE x, TYPE y, float weighting) del, size_t step)

Parameters

del void delegate
(
TYPE x
,
TYPE y
)

Delegate to call with a point

step size_t

The difference between points. Default: 1

Meta